package cn.org.donald.framework.pojo.dto;

import cn.org.donald.framework.pojo.BaseModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ： Donald
 * @date ： 2020/10/16 22:55
 * @description：
 */
public class LoginBody extends BaseModel {

    @ApiModelProperty(value = "用户登录名")
    private String username;
    @ApiModelProperty(value = "登录密码")
    private String password;
    @ApiModelProperty(value = "验证码token")
    private String captchaToken;
    @ApiModelProperty(value = "用户输入的验证码")
    private String captcha;

    public LoginBody() {
    }

    public LoginBody(String username, String password, String captchaToken, String captcha) {
        this.username = username;
        this.password = password;
        this.captchaToken = captchaToken;
        this.captcha = captcha;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptchaToken() {
        return captchaToken;
    }

    public void setCaptchaToken(String captchaToken) {
        this.captchaToken = captchaToken;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}
